import requests

#发送请求
response= requests.get("图片链接")

#保存
with open("a.png","wb") as f:   #写入二进制内容
    f.write(response.content)